package com.example.demo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.demo.entity.WorkExperience;
import com.example.demo.service.WorkExperienceService;
import com.example.demo.mapper.WorkExperienceMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 你爸爸
* @description 针对表【work_experience(工作经历表)】的数据库操作Service实现
* @createDate 2023-12-12 18:36:25
*/
@Service
public class WorkExperienceServiceImpl extends ServiceImpl<WorkExperienceMapper, WorkExperience>
    implements WorkExperienceService{

    @Autowired
    private WorkExperienceMapper workExperienceMapper;
    @Override
    public List<WorkExperience> getAllByResumeId(Integer id) {
        return workExperienceMapper.getAllByResumeId(id);
    }
}




